package com.chinawayltd.ews.sample.mapper;

import com.chinawayltd.ews.sample.model.TVehicle;
import com.chinawayltd.ews.sample.model.TVehicleExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface TVehicleMapper {
    int countByExample(TVehicleExample example);

    int deleteByExample(TVehicleExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TVehicle record);

    int insertSelective(TVehicle record);

    List<TVehicle> selectByExample(TVehicleExample example);

    TVehicle selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TVehicle record, @Param("example") TVehicleExample example);

    int updateByExample(@Param("record") TVehicle record, @Param("example") TVehicleExample example);

    int updateByPrimaryKeySelective(TVehicle record);

    int updateByPrimaryKey(TVehicle record);
}